package cn.lizemin.controller;

import cn.hutool.core.codec.Base64Encoder;
import cn.lizemin.common.RespBean;
import cn.lizemin.web.annotation.RequestMapping;

/**
 * @author lzm
 * @Date 2024/11/3
 * @description
 */
public class LoginController {

    @RequestMapping("/login.do")
    public String login() {
        return "login";
    }

    @RequestMapping("/welcome")
    public RespBean welcome() {
        return RespBean.success(Base64Encoder.encode("我是token"));
    }


}
